package methodOverLoading;

public class AreaCalculatorDemo {

	public static void main(String[] args) {
	
		AreaCalculator areaCal = new AreaCalculator();
		
		//Passing the parameters to calculate square
		areaCal.area(10);
		//Passing the parameters to calculate rectangle
		areaCal.area(4,6);
		//passing the  parameters to calculate triangle.
		areaCal. areaTriangle(6,8);
		// passing the parameters to calculate Trapezoid.
		areaCal.area(7, 5, 4);
		

}
}